package com.ruoyi.mining.service;

import java.util.List;
import com.ruoyi.mining.domain.CourseConsumption;

/**
 * 课消信息Service接口
 * 
 * @author liyuxi
 * @date 2024-04-10
 */
public interface ICourseConsumptionService 
{
    /**
     * 查询课消信息
     * 
     * @param id 课消信息主键
     * @return 课消信息
     */
    public CourseConsumption selectCourseConsumptionById(Long id);

    /**
     * 查询课消信息列表
     * 
     * @param courseConsumption 课消信息
     * @return 课消信息集合
     */
    public List<CourseConsumption> selectCourseConsumptionList(CourseConsumption courseConsumption);

    /**
     * 新增课消信息
     * 
     * @param courseConsumption 课消信息
     * @return 结果
     */
    public int insertCourseConsumption(CourseConsumption courseConsumption);

    /**
     * 修改课消信息
     * 
     * @param courseConsumption 课消信息
     * @return 结果
     */
    public int updateCourseConsumption(CourseConsumption courseConsumption);

    /**
     * 批量删除课消信息
     * 
     * @param ids 需要删除的课消信息主键集合
     * @return 结果
     */
    public int deleteCourseConsumptionByIds(Long[] ids);

    /**
     * 删除课消信息信息
     * 
     * @param id 课消信息主键
     * @return 结果
     */
    public int deleteCourseConsumptionById(Long id);
}
